Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Make ENV var needed for next.config.mjs available during docker build #31

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

berkes
Copy link

@berkes berkes commented Jul 16, 2024

Frontend docker compose build would fail with:

12.13 `destination` does not start with `/`, `http://`, or `https://` for route {"source":"/.well-known/jwks/:path*","destination":"undefined/.well-known/jwks/:path*"}
12.13
12.13
12.13 Error: Invalid rewrite found

This fixes that by making the ENV var available during build, using ARG.

…build

Frontend docker compose build would fail with:
```
12.13 `destination` does not start with `/`, `http://`, or `https://` for route {"source":"/.well-known/jwks/:path*","destination":"undefined/.well-known/jwks/:path*"}
12.13
12.13
12.13 Error: Invalid rewrite found
```

This fixes that.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant